package com.medical.mapper;

import com.medical.pojo.RepairQuotation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RepairQuotationMapper {
    @Select("select r.*,(r.accessory_number * r.accessory_price) totalPrice from repair_quotation r where r.repair_id = #{id}")
    List<RepairQuotation> findAll(Integer id);
}
